package com.wmh.baseservice.skd.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 用户银行卡表
 * @TableName skd_bank_card
 */
@TableName(value ="skd_bank_card")
@Data
@Accessors(chain = true)
public class SkdBankCard implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 持卡人
     */
    @TableField(value = "cardholder")
    private String cardholder;

    /**
     * 银行卡号
     */
    @TableField(value = "bank_card_number")
    private String bankCardNumber;

    /**
     * 开户银行
     */
    @TableField(value = "bank_of_deposit")
    private String bankOfDeposit;

    /**
     * 开户支行
     */
    @TableField(value = "account_opening_branch")
    private String accountOpeningBranch;

    /**
     * 手机号码
     */
    @TableField(value = "phone_number")
    private String phoneNumber;

    /**
     * 状态 0正常 1冻结
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 是否删除 0未删除 1已删除
     */
    @TableField(value = "deleted")
    @TableLogic
    private Integer deleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}